package com.sky.mapper;

import com.sky.dto.OrdersPageQueryDTO;
import com.sky.entity.OrderDetail;
import com.sky.entity.Orders;
import com.sky.vo.SalesTop10ReportVOItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface OrderDetailMapper {
    void insert(List<OrderDetail> list);


    List<OrderDetail> selectBy(Long orderId);

    List<SalesTop10ReportVOItem> getDishNameReportAndNumberReport(List<Long> ids);
}
